package www.lagou.app;

import org.junit.Test;
import www.lagou.dao.employeeDao;
import www.lagou.entity.employee;

import java.sql.SQLException;
import java.util.List;

public class TestEmployeeDao {

    employeeDao ed = new employeeDao();
    @Test
    public void testFindAllEmployee() throws SQLException {
        List<employee> employeeList = ed.findAllEmployee();
        for(employee e:employeeList){
            System.out.println(e);
        }



    }
    @Test
    public void testGetEmployeeInfo() throws SQLException {

        List<employee> employeeInfo = ed.getEmployeeInfo();
        System.out.println(employeeInfo);


    }

}
